'use strict'
const express = require('express')
const utils = require('../utils')
const controller = require('../controller')

const router = express.Router()

// /api
router.all('/', (req, res, next) => {
  res.json(utils.success())
})

// /api/list
router.get('/list', controller.home.getList)

module.exports = router
